
import request from '@/util/request';
export default {
    search(page, pageSize, data) {
        return request({
            url: `/order/search/${page}/${pageSize}`,
            method: "post",
            data
        })
    },
    saveOrder(url, data, method) {
        return request({
            url,
            method,
            data
        })
    },
    deleteOrder(ids) {
        return request({
            url: `/order/delete/${ids}`,
            method: "delete"
        })
    },
}
